<script>
	import routingIntercept from '@/utils/permission.js'
	export default {
		onLaunch: function() {
			this.globalData.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
			console.log('App Launch')
			// 开启或关闭调试功能
			// uni.setEnableDebug({
			// 	enableDebug:false
			// })
			routingIntercept()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData:{
			statusBarHeight:0
		}
	}
</script>
<style lang="scss">
	/* #ifdef MP-WEIXIN */
	@import "/wxcomponents/vant/common/index.wxss";
	page {
		background-color: #fff;
	}
	/* #endif */
	/* /deep/的意思大概为深入的 */
	.van_top /deep/ .van-nav-bar__text {
		color: #000000;
	}

	.van_top /deep/ .van-icon-arrow-left {
		color: var(--nav-bar-icon-color, #000000) !important;
		font-weight: bold;
	}

	.van_top /deep/ .van-nav-bar {
		/* background-color: #E40000; */
	}
	.safe-area {
		width: 750rpx;
	}
	.nav-bar-index--van-nav-bar__left {
		.van-icon {
			font-size: 36rpx !important;
		}
	}
</style>
<style>
	/*每个页面公共css */
	:root {
		box-sizing: border-box;
	}
</style>